# distance-matrix

A script to calculate distances between groups of coordinates in two csv files.

## Requirement

Python 3.xx

## Running the script

```bash
python distance_matrix.py FIRST_FILE.csv SECOND_FILE.csv
```

If you want to specify the name of the output file with the distances.

```bash
python distance_matrix.py FIRST_FILE.csv SECOND_FILE.csv --output OUTPUT_FILE_NAME.csv
```

If the coordinates are in columns with names other than 'lat' and 'lon', then you can specify the column names:

```bash
python distance_matrix.py FIRST_FILE.csv SECOND_FILE.csv --lat LATITUDE_COLUMN_NAME --lon LONGITUDE_COLUMN_NAME
```
